package day10;

import org.junit.Test;

public class haha {
	public static void main(String[] args) {
				   String str = "java AndroidA Python";
		   String[] array = str.split(" ");
		   for (String string : array) {
		     System.out.println(string);
		   }
		}
	

@Test
public void test455() {
   //String str = "java And";
   char[] array = {'j', 'a', 'v', 'a', ' ', 'A', 'n', 'd'};
   String str = new String(array);
   System.out.println(str);
   char[] charArray = str.toCharArray();
   for (char c : charArray) {
     System.out.print(c + " ");
   }
}
@Test
public void test4() {
	
		   String str = "java AndroidA";
		   System.out.println(str.length());
		   char[] array = str.toCharArray();
		   char ch = str.charAt(5);
		   System.out.println(ch);// A
	
	
}}
